package com.wuyu.ibatis.session;

import com.wuyu.ibatis.config.Configuration;

import java.sql.Connection;

public interface SqlSessionFactory {

  SqlSession openSession();

  SqlSession openSession(boolean autoCommit);

  SqlSession openSession(Connection connection);

  Configuration getConfiguration();

}
